package com.component.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.component.domain.MMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import org.aspectj.asm.IProgramElement;

import java.io.Serializable;
import java.util.List;

/**
 *
 */
public interface MMenuService extends IService<MMenu> {


    MMenu getById(Serializable id);

    List<MMenu> parentList();

    List<MMenu> childrenList(String pid);

    List<MMenu> getMMenuList(List<Integer> mids);

    IPage<MMenu> pageChild(Integer pageNum,Integer pageSize,String menuId,String menuName,String componentName,String path);
}
